Part Number Hot Search : 
FQP17N08 DSP56303 SMD050F 16682N C1623 0000X AN2001 3261I03
Product Description
Full Text Search
 

To Download AD9886KS-140 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  rev. 0 information furnished by analog devices is believed to be accurate and reliable. however, no responsibility is assumed by analog devices for its use, nor for any infringements of patents or other rights of third parties which may result from its use. no license is granted by implication or otherwise under any patent or patent rights of analog devices. a ad9886 one technology way, p.o. box 9106, norwood, ma 02062-9106, u.s.a. tel: 781/329-4700 world wide web site: http://www.analog.com fax: 781/326-8703 ? analog devices, inc., 2001 analog interface for flat panel displays functional block diagram clamp r in a/d 8 8 8 r outa r outb clamp g in a/d 8 8 8 g outa g outb clamp b in a/d 8 8 8 b outa b outb sync processing and clock generation hsync coast clamp ckinv ckext filt 2 datack hsout vsout sogout analog interface ref refout refin serial register and power management scl sda a 1 a 0 ad9886 features analog interface 140 msps maximum conversion rate 330 mhz analog bandwidth 0.5 v to 1.0 v analog input range 500 ps p-p pll clock jitter at 140 msps 3.3 v power supply full sync processing midscale clamp for yuv applications general description the ad9886 is a complete 8-bit 140 msps monolithic analog interface optimized for capturing rgb graphics signals from personal computers and workstations. its 140 msps encode rate capability and full-power analog bandwidth of 330 mhz supports resolutions up to sxga (1280 1024 at 75 hz). for ease of design and to minimize cost, the ad9886 is a fully integrated interface solution for fpds. the ad9886 includes a 140 mhz triple adc with internal 1.25 v reference, pll to generate a pixel clock from an hsync, and programmable gain, offset, and clamp control. the user provides only a 3.3 v power supply, analog input, and an hsync signal. three-state cmos outputs may be powered from 2.5 v to 3.3 v. the ad9886? on-chip pll generates a pixel clock from an hsync. p ixel clock output frequencies range from 12 mhz to 140 mhz. pll clock jitter is 500 ps p-p typical at 140 msps. when the coast signal is presented, the pll maintains its output frequency in the absence of hsync. a sampling phase adjustment is provided. data, hsync and clock output phase relationships are maintained. the pll can be disabled and an external clock input provided as the pixel clock. the ad9886 also offers full sync processing for composite sync and sync-on- green applications. a clamp signal is generated internally or may be provided by the user through the clamp input pin. this interface is fully pro- grammable via a 2-wire serial interface.
rev. 0 C2C ad9886?pecifications (v d = 3.3 v, v dd = 3.3 v, adc clock = maximum conversion rate.) test ad9886ks-100 AD9886KS-140 parameter temp level min typ max min typ max unit resolution 8 8 bits dc accuracy differential nonlinearity 25 ci 0.5 +1.15/?.0 0.5 +1.25/?.0 lsb full vi +1.15/?.0 +1.25/?.0 lsb integral nonlinearity 25 ci 0.5 1.4 0.5 1.65 lsb full vi 1.75 2.5 lsb no missing codes full vi guaranteed guaranteed analog input input voltage range minimum full vi 0.5 0.5 v p? maximum full vi 1.0 1.0 v p? gain tempco 25 c v 135 150 ppm/ c input bias current 25 civ 1 1 a full iv 1 1 a input offset voltage full vi 7 50 7 50 mv input full-scale matching full vi 8.0 8.0 % fs offset adjustment range full vi 44 50 56 44 50 56 % fs reference output output voltage full vi 1.20 1.25 1.30 1.20 1.25 1.30 v temperature coefficient full v 50 50 ppm/ c switching performance 1 maximum conversion rate full vi 100 140 msps minimum conversion rate full iv 10 10 msps data to clock skew, t skew full iv ?.5 +2.0 ?.5 +2.0 ns t buff full vi 4.7 4.7 s t stah full vi 4.0 4.0 s t dho full vi 0 0 s t dal full vi 4.7 4.7 s t dah full vi 4.0 4.0 s t dsu full vi 250 250 s t stasu full vi 4.7 4.7 s t stosu full vi 4.0 4.0 s hsync input frequency full iv 15 110 15 110 khz maximum pll clock rate full vi 100 140 mhz minimum pll clock rate full iv 12 12 mhz pll jitter 25 c iv 400 700 2 400 700 3 ps p-p full iv 1000 2 1000 3 ps p-p sampling phase tempco full iv 15 15 ps/ c digital inputs input voltage, high (v ih ) full vi 2.5 2.5 v input voltage, low (v il ) full vi 0.8 0.8 v input current, high (v ih ) full iv ?.0 ?.0 a input current, low (v il ) full iv 1.0 1.0 a input capacitance 25 cv 3 3 pf digital outputs output voltage, high (v oh ) full vi v d 0.1 v d 0.1 v output voltage, low (v ol ) full vi 0.1 0.1 v duty cycle datack, datack full iv 45 50 55 45 50 55 % output coding binary binary
rev. 0 C3C ad9886 test ad9886ks-100 AD9886KS-140 parameter temp level min typ max min typ max unit power supply v d supply voltage full iv 3.0 3.3 3.6 3.0 3.3 3.6 v v dd supply voltage full iv 2.2 3.3 3.6 2.2 3.3 3.6 v p vd supply voltage full iv 3.0 3.3 3.6 3.0 3.3 3.6 v i d supply current (v d )25 c v 140 155 ma i dd supply current (v dd ) 4 25 c v 34 48 ma ip vd supply current (p vd )25 c v 15 16 ma total power dissipation full vi 564 850 715 850 mw power-down supply current full vi 13 25 13 25 ma power-down dissipation full vi 43 82.5 43 82.5 mw dynamic performance analog bandwidth, full power 25 c v 330 330 mhz transient response 25 cv 2 2 ns overvoltage recovery time 25 c v 1.5 1.5 ns signal-to-noise ratio (snr) 5 25 c v 46 46 db (without harmonics) full v 45 45 db f in = 40.7 mhz crosstalk full v 60 60 dbc thermal characteristics jc junction-to-case thermal resistance v 20 20 c/w ja junction-to-ambient thermal resistance v 40 40 c/w notes 1 drive strength = 11. 2 vco range = 01, charge pump current = 001, pll divider = 1693. 3 vco range = 10, charge pump current = 110, pll divider = 1600. 4 demux = 1, datack and datack load = 10 pf, data load = 5 pf. 5 using external pixel clock. specifications subject to change without notice.
rev. 0 ad9886 C4C caution esd (electrostatic discharge) sensitive device. electrostatic charges as high as 4000 v readily accumulate on the human body and test equipment and can discharge without detection. although the ad9886 features proprietary esd protection circuitry, permanent damage may occur on devices subjected to high-energy electrostatic discharges. therefore, proper esd precautions are recommended to avoid performance degradation or loss of functionality. warning! esd sensitive device absolute maximum ratings * v d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.6 v v dd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.6 v analog inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . v d to 0.0 v vref in . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v d to 0.0 v digital inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 v to 0.0 v digital output current . . . . . . . . . . . . . . . . . . . . . . . . 20 ma operating temperature . . . . . . . . . . . . . . . . . ?5 c to +85 c storage temperature . . . . . . . . . . . . . . . . . . ?5 c to +150 c maximum junction temperature . . . . . . . . . . . . . . . . 175 c maximum case temperature . . . . . . . . . . . . . . . . . . . 150 c * stresses above those listed under absolute maximum ratings may cause perma- nent damage to the device. this is a stress rating only; functional operation of the device at these or any other conditions outside of those indicated in the operation sections of this specification is not implied. exposure to absolute maximum ratings for extended periods may affect device reliability. ordering guide temperature package package model range description option AD9886KS-140 0 c to 70 c plastic quad flatpack s-160 ad9886ks-100 0 c to 70 c plastic quad flatpack s-160 ad9886/pcb 25 c evaluation board explanation of test levels test level i 100% production tested. ii 100% production tested at 25 c and sample tested at specified temperatures. iii sample tested only. iv parameter is guaranteed by design and characterization testing. v parameter is a typical value only. vi 100% production tested at 25 c; guaranteed by design and characterization testing.
rev. 0 ad9886 C5C pin configuration red b<0> red b<1> red b<2> red b<3> red b<4> red b<5> red b<6> red b<7> gnd vdd red a<0> red a<1> red a<2> red a<3> red a<4> red a<5> red a<6> red a<7> gnd vdd sogout hsout vsout nc s cdt dataclkb dataclk gnd vdd gnd gnd scan in gnd vd ref out ref in vd vd gnd gnd 160 159 158 157 156 155 154 153 152 151 150 149 147 146 145 144 143 142 141 140 139 138 148 137 136 135 133 132 131 130 129 128 134 127 126 125 123 122 121 124 gnd gnd vdd gnd scan out nc nc nc nc scan clk vd gnd nc vd vd nc nc gnd nc nc gnd nc nc gnd nc nc vd vd gnd vd nc nc nc gnd pvd gnd pvd filt pvd gnd 53 54 55 56 57 58 59 60 61 62 41 42 43 44 45 46 47 48 49 50 51 52 63 64 65 66 68 69 70 71 72 67 73 74 75 76 78 79 80 77 5 4 3 2 7 6 9 8 1 14 13 12 11 16 15 17 10 19 18 23 22 21 20 25 24 27 26 29 28 32 31 30 34 33 36 35 40 39 38 37 vdd gnd green a<7> green a<6> green a<5> green a<4> green a<3> green a<2> green a<1> green a<0> vdd gnd green b<7> green b<6> green b<5> green b<4> green b<3> green b<2> green b<1> green b<0> vdd gnd blue a<7> blue a<6> blue a<5> blue a<4> blue a<3> blue a<2> blue a<1> blue a<0> vdd gnd blue b<7> blue b<6> blue b<5> blue b<4> blue b<3> blue b<2> blue b<1> blue b<0> rmidscv r ain rclampv vd gnd vd vd gnd gnd gmidscv g ain gclampv sogin vd gnd vd vd gnd gnd bmidscv b ain bclampv vd gnd vd gnd ckinv clamp sda scl a0 a1 pvd pvd gnd gnd coast ckext hsync vsync 104 119 120 114 115 116 117 112 113 111 118 109 110 105 106 107 108 102 103 100 101 98 99 95 96 97 93 94 91 92 90 87 88 89 86 84 85 82 83 81 pin 1 identifier top view (not to scale) ad9886 nc = no connect
rev. 0 ad9886 C6C table i. complete pinout list p in pin pin type name function value number analog video r ain analog input for converter r 0.0 v to 1.0 v 119 inputs g ain analog input for converter g 0.0 v to 1.0 v 110 b ain analog input for converter b 0.0 v to 1.0 v 100 external hsync horizontal sync input 3.3 v cmos 82 sync/clock vsync vertical sync input 3.3 v cmos 81 inputs sogin input for sync-on-green 0.0 v to 1.0 v 108 clamp clamp input (external clamp signal) 3.3 v cmos 93 coast pll coast signal input 3.3 v cmos 84 ckext external pixel cl ock input (to bypass the pll) or 10 k ? to v dd 3.3 v cmos 83 ckinv adc sampling clock invert 3.3 v cmos 94 sync outputs hsout hsync output clock (phase-aligned with datack) 3.3 v cmos 139 vsout vsync output clock (phase-aligned with datack) 3.3 v cmos 138 sogout sync on green slicer output 3.3 v cmos 140 voltage refout internal reference output (bypass with 0.1 f to ground) 1.25 v 126 reference refin reference input (1.25 v 10%) 1.25 10% 125 clamp voltages r midsc v red channel midscale clamp voltage output 120 r clamp v red channel midscale clamp voltage output 0.0 v to 0.75 v 118 g midsc v green channel midscale clamp voltage output 111 g clamp v green channel midscale clamp voltage output 0.0 v to 0.75 v 109 b midsc v blue channel midscale clamp voltage output 101 b clamp v blue channel midscale clamp voltage output 0.0 v to 0.75 v 99 pll filter filt connection for external filter components for internal pll 78 power supply v d analog power supply 3.3 v 10% v dd output power supply 3.3 v 10% pv d pll power supply 3.3 v 10% gnd ground 0 v serial port sda serial port data i/o 3.3 v cmos 92 (2-wire scl serial port data clock (100 khz max) 3.3 v cmos 91 serial interface) a0 serial port address input 1 3.3 v cmos 90 a1 serial port address input 2 3.3 v cmos 89 data outputs red b[7:0] port b/odd outputs of converter ?ed,?bit 7 is the msb 3.3 v cmos 153?60 green b[7:0] port b/ odd outputs of converter ?reen,?bit 7 is the msb 3.3 v cmos 13?0 blue b[7:0] port b/odd outputs of converter ?lue,?bit 7 is the msb 3.3 v cmos 33?0 red a[7:0] port a/even outputs of converter ?ed,?bit 7 is the msb 3.3 v cmos 143?50 green a[7:0] port a/even outputs of converter ?reen,?bit 7 is the msb 3.3 v cmos 3?0 blue a[7:0] port a/even outputs of converter ?lue,?bit 7 is the msb 3.3 v cmos 23?0 data clock datack data output clock for the analog and digital interface 3.3 v cmos 134 outputs datack data output clock complement for the analog interface only 3.3 v cmos 135 sync detect s cdt sync detect output 3.3 v cmos 136 scan function scan in input for scan function 3.3 v cmos 129 scan out output for scan function 3.3 v cmos 45 scan clk clock for scan function 3.3 v cmos 50 no connect nc these pins should be left unconnected 46?9, 53, 56, 57, 59, 60, 62, 63, 65, 66, 71?3, 137
rev. 0 ad9886 C7C pin function detail inputs r ain analog input for red channel g ain analog input for green channel b ain analog input for blue channel high-impedance inputs that accept the red, green, and blue channel graphics sig nals, respectively. (the three channels are identi- cal and can be used for any colors, but colors are assigned for convenient reference.) they accommodate input signals ranging from 0.5 v to 1.0 v full scale. signals should be ac-coupled to these pins to support clamp operation. hsync horizontal sync input this input receives a logic signal that estab- lishes the horizontal timing reference and provides the frequency reference for pixel clock generation. the logic sense of this pin is controlled by serial register 0fh bit 7 ( hsync polarity). only the leading edge of hsync is active, the t railing edge is ignored. when hsync polarity = 0, the falling edge of hsync is used. when hsync polarity = 1, the rising edge is active. the input includes a schmitt trigger for noise immunity, with a nominal input threshold of 1.5 v. electrostatic discharge (esd) protection diodes will conduct heavily if this pin is driven more than 0.5 v above the maximum toler- ance voltage (3.3 v), or more than 0.5 v below ground. vsync vertical sync input this is the input for vertical sync. sogin sync-on-green input this input is provided to assist with processing signals with embedded sync, typically on the green channel. the pin is connected to a high-speed comparator with an internally gen- erated threshold, which is set to 0.15 v above the negative peak of the input signal. when connected to an ac-coupled graphics signal with embedded sync, it will produce a noninverting digital output on sogout. (this is usually a composite sync signal, containing both vertical and horizontal sync information that must be separated before passing the horizontal sync signal to hsync). when not used, this input should be left unconnected. for more details on this func- tion and how it should be configured, refer to the sync on green section. clamp external clamp input this logic input may be used to define the time during which the input signal is clamped to the reference dc level (ground for rgb or midscale for yuv). it should be exercised when the reference dc level is known to be present on the analog input channels, typi- cally during the back porch of the graphics signal. the clamp pin is enabled by setting control bit extclmp to 1 (the default power-up is 0). when disabled, this pin is ignored and the clamp timing is determined internally by counting a delay and duration from the trailing edge of the hsync input. the logic sense of this pin is controlled by clampol. when not used, this pin must be grounded and extclmp programmed to 0. coast clock generator coast input (optional) this input may be used to cause the pixel clock generator to stop synchronizing with hsync and continue producing a clock at its current frequency and phase. this is useful when processing signals from sources that fail to produce horizontal sync pulses when in the vertical interval. the coast signal is gener- ally not required for pc-generated signals. the logic sense of this pin is controlled by coast polarity. when not used, this pin may be grounded and coast polarity programmed to 1, or tied high (to v d through a 10 k ? resistor) and coast polarity programmed to 0. coast polarity defaults to 1 at power-up. ckext external clock input (optional) this pin may be used to provide an external clock to the ad9886, in place of the clock internally generated from hsync. it is enabled by programming extclk to 1. when an external clock is used, all other inter- nal functions operate normally. when unused, this pin should be tied through a 10 k ? resistor to ground, and extclk programmed to 0. the clock phase adjustment still operates when an external clock source is used. ckinv sampling clock inversion (optional) this pin may be used to invert the pixel sampling clock, which has the effect of shifting the sampling phase 180 . this is in support of a lternate pixel sampling mode, wherein h igher-frequency input signals (up to 280 mpps) may be captured by first sam- pling the odd pixels, then capturing the even pixels on the subsequent frame. this pin should be exercised only during blanking intervals (typically vertical blanking) as it may produce several samples of corrupted data during the phase shift. ckinv should be grounded when not used.
rev. 0 ad9886 C8C outputs d r a 7-0 data output, red channel, port a d r b 7-0 data output, red channel, port b d g a 7-0 data output, green channel, port a d g b 7-0 data output, green channel, port b d b a 7-0 data output, blue channel, port a d b b 7-0 data output, blue channel, port b these are the main data outputs. bit 7 is the msb. each channel has two ports. when the part is operated in single-channel mode (demux = 0), all data are presented to port a, and port b is placed in a high-impedance state. programming demux to 1 established dual- channel mode, wherein alternate pixels are presented to port a and port b of each chan- nel. these will appear simultaneously, two pixels presented at the time of every second input pixel, when par is set to 1 (parallel mode). when par = 0, pixel data appear alternately on the two ports, one new sample with each incoming pixel (interleaved mode). in dual channel mode, the first pixel after hsync is routed to port a. the second pixel goes to port b, the third to a, etc. this can be reversed by setting outphase to 1. the delay from pixel sampling time to output is fixed. when the sampling time is changed by adjusting the phase register, the output timing is shifted as well. the datack, datack , and hsout outputs are also moved, so the timing relationship among the signals is maintained. datack data output clock datack data output clock complement differential data clock output signals to be used to strobe the output data and hsout into external logic. they are produced by the internal clock gen- erator and are synchronous with the internal pixel sampling clock. when the ad9886 is operated in single- channel mode, the output frequency is equal to the pixel sampling frequency. when operat- ing in dual channel mode, the clock frequency is one-half the pixel frequency, as is the output data frequency. when the sampling time is changed by adjust- ing the phase register, the output timing is shifted as well. the data, datack, datack, and hsout outputs are all moved, so the timing relationship among the signals is maintained. either or both signals may be used, depend- ing on the timing mode and interface design employed. hsout horizontal sync output a reconstructed and phase-aligned version of the hsync input. both the polarity and dura- tion of this output can be programmed via serial bus registers. by maintaining alignment with datack, datack , and data, data timing with respect to horizontal sync can always be determined. sogout sync-on-green slicer output this pin can be programmed to output either the output from the sync-on-green slicer comparator or an unprocessed but delayed version of the hsync input. see the sync block diagram to view how this pin is connected. (note: besides slicing off sog, the output from this pin re ceives no additional process- ing on the ad9886. vsync separation is performed via the sync separator.) refout internal reference output output from the internal 1.25 v bandgap reference. this output is intended to drive relatively light loads. it can drive the ad9886 reference input directly, but should be exter- nally buffered if it is used to drive other loads as well. the absolute accuracy of this output is 4%, and the temperature coefficient is 50 ppm, which is adequate for most ad9886 appli- cations. if higher accuracy is required, an external reference may be employed instead. if an external reference is used, connect this pin to ground through a 0.1 f capacitor. refin reference input the reference input accepts the master refer- ence voltage for all ad9886 internal circuitry (1.25 v 10%). it may be driven directly by the refout pin. its high impedance pre- sents a very light load to the reference source. this pin should always be bypassed to ground with a 0.1 f capacitor. filt external filter connection for proper operation, the pixel clock genera- tor pll requires an external filter. connect the filter shown figure 7 to this pin. for optimal performance, minimize noise and parasitics on this node.
rev. 0 ad9886 C9C power supply v d main power supply these pins supply power to the main ele- ments of the circuit. it should be as quiet and filtered as possible. v dd digital output power supply a large number of output pins (up to 52) switching at high speed (up to 140 mhz) generates a lot of power supply transients (noise). these supply pins are identified separately from the v d pins so special care can be taken to minimize output noise trans- ferred into the sensitive analog circuitry. if the ad9886 is interfacing with lower- voltage logic, v dd may be connected to a lower supply voltage (as low as 2.5 v) for compatibility. pv d clock generator power supply the most sensitive portion of the ad9886 is the clock generation circuitry. these pins provide power to the clock pll and help the user design for optimal performance. the designer should provide ?uiet,?noise-free power to these pins. gnd ground the ground return for all circuitry on chip. it is recommended that the ad9886 be assembled on a single solid ground plane, with careful attention to ground current paths. serial port (two-wire) sda serial port data i/o scl serial port data clock a0 serial port address input 1 a1 serial port address input 2 for a full description of the 2-wire serial regis- ter and how it works, refer to the control register section. scan function scan in data input for scan function data can be loaded serially into the 48-bit scan register through this pin, clocking it in with the scan clk pin. it then comes out of the 48 data outputs in parallel. this function is useful for loading known data into a graph- ics controller chip for testing purposes. scan out data output for scan function the data in the 48-bit scan register can be read through this pin. data is read on a fifo basis and is clocked via the scan clk pin. scan clk data clock for scan function this pin clocks the data through the scan register. it controls both data input and data output.
rev. 0 ad9886 C10C design guide general description the ad9886 is a fully integrated solution for capturing analog rgb signals and digitizing them for display on flat panel monitors or projectors. the circuit is ideal for providing a computer interface for hdtv monitors or as the front end to high- performance video scan converters. implemented in a high-performance cmos process, the inter- face can capture signals with pixel rates of up to 140 mhz and with an alternate pixel sampling mode, up to 280 mhz. the ad9886 includes all necessary input buffering, signal dc restoration (clamping), offset and gain (brightness and contrast) adjustment, pixel clock generation, sampling phase control, and output data formatting. all controls are programmable via a 2-wire serial interface. full integration of these sensitive analog functions makes system design straightforward and less sensi- tive to the physical and electrical environment. with a typical power dissipation of less than 750 mw and an operating temperature range of 0 c to 70 c, the device requires no special environmental considerations. input signal handling the ad9886 has three high-impedance analog input pins for the red, green, and blue channels. they will accommodate signals ranging from 0.5 v to 1.0 v p-p. signals are typically brought onto the interface board via a dvi-i connector, a 15-pin d connector, or via bnc connectors. the ad9886 should be located as close as practical to the input connector. signals should be routed via matched-imped- ance traces (normally 75 ? ) to the ic input pins. at that point the signal should be resistively terminated (75 ? to the signal ground return) and capacitively coupled to the ad9886 inputs through 47 nf capacitors. these capacitors form part of the dc restoration circuit. in an ideal world of perfectly matched impedances, the best performance can be obtained with the widest possible signal bandwidth. the ultrawide bandwidth inputs of the ad9886 (330 mhz) can track the input signal continuously as it moves from one pixel level to the next, and digitize the pixel during a long, flat pixel time. in many systems, however, there are mis- matches, reflections, and noise, which can result in excessive ringing and distortion of the input waveform. this makes it more difficult to establish a sampling phase that provides good image quality. it has been shown that a small inductor in series with the input is effective in rolling off the input bandwidth slightly, and providing a high quality signal over a wider range of conditions. using a fair-rite #2508051217z0 high-speed signal chip bead inductor in the circuit of figure 1 gives good results in most applications. rgb input r ain g ain b ain 47nf 75  figure 1. analog input interface circuit hsync, vsync inputs the ad9886 takes a horizontal sync signal, which is used to generate the pixel clock and clamp timing. it is possible to oper- ate the ad9886 without applying hsync (using an external clock, external clamp, and single port output mode) but a number of features of the chip will be unavailable, so it is recommended that hsync be provided. this can be either a sync signal directly from the graphics source, or a preprocessed ttl or cmos level signal. the hsync input includes a schmitt trigger buffer for immunity to noise and signals with long rise times. in typical pc-based graphic systems, the sync signals are simply ttl-level drivers feeding unshielded wires in the monitor cable. as such, no ter- mination is required or desired. serial control port the serial control port is designed for 3.3 v l ogic. if there are 5 v drivers on the bus, these pins should be protected with 150 ? series resistors placed between the pull-up resistors and the input pins. output signal handling the digital outputs are designed and specified to operate from a 3.3 v power supply (v dd ). they can also work with a v dd as low as 2.5 v for compatibility with other 2.5 v logic. clamping rgb clamping to properly digitize the incoming signal, the dc offset of the input must be adjusted to fit the range of the on-board a/d converters. most graphics systems produce rgb signals with black at ground and white at approximately 0.75 v. however, if sync signals are embedded in the graphics, the sync tip is often at ground and black is at 300 mv. then white is at approximately 1.0 v. some common rgb line amplifier boxes use emitter- follower buffers to split signals and increase drive capability. this introduces a 700 mv dc offset to the signal, which must be removed for proper capture by the ad9886. the key to clamping is to identify a portion (time) of the signal when the graphic system is known to be producing black. an offset is then introduced which results in the a/d converters producing a black output (code 00h) when the known black input is present. the offset then remains in place when other signal levels are processed, and the entire signal is shifted to eliminate offset errors. in most graphics systems, black is transmitted between active video lines. going back to crt displays, when the electron beam has completed writing a horizontal line on the screen (at the right side), the beam is quickly deflected to the left side of the screen (called horizontal retrace) and a black signal is pro- vided to prevent the beam from disturbing the image. in systems with embedded sync, a blacker-than-black signal (hsync) is produced briefly to signal the crt that it is time to begin a retrace. for obvious reasons, it is important to avoid clamping on the tip of hsync. fortunately, there is virtually always a period following hsync called the back porch where a good black reference is provided. this is the time when clamp- ing should be done.
rev. 0 ad9886 C11C the clamp timing can be established by simply exercising the clamp pin at the appropriate time (with extclmp = 1). the polarity of this signal is set by the clamp polarity bit. a simpler method of clamp timing employs the ad9886 inter- nal clamp timing generator. the clamp placement register is programmed with the number of pixel times that should pass after the trailing edge of hsync before clamping starts. a second register (clamp duration) sets the duration of the clamp. these are both 8-bit values, providing considerable flexibility in clamp generation. the clamp timing is referenced to the trailing edge of hsync because, although hsync duration can vary widely, the back porch (black reference) always follows hsync. a good starting point for establishing clamping is to set the clamp placement to 08h (providing eight pixel periods for the graphics signal to stabilize after sync) and set the clamp duration to 14h (giving the clamp 20 pixel periods to reestablish the black reference). clamping is accomplished by placing an appropriate charge on the external input coupling capacitor. the value of this capaci- tor affects the performance of the clamp. if it is too small, there will be a significant amplitude change during a horizontal line time (between clamping intervals). if the capacitor is too large, it will take excessively long for the clamp to recover from a large change in incoming signal offset. the recommended value (47 nf) results in recovering from a step error of 100 mv to within 1/2 lsb in 10 lines with a clamp duration of 20 pixel periods on a 60 hz sxga signal. yuv clamping yuv graphic signals are slightly different from rgb signals in that the dc reference level (black level in rgb signals) can be at the midpoint of the video signal rather than the bottom. for these signals it can be necessary to clamp to the midscale range of the a/d converter range (10h) rather than bottom of the a/d converter range (00h). clamping to midscale rather than ground can be accomplished by setting the clamp select bits in the series bus register. each of the three converters has its own selection bit so that they can be clamped to either midscale or ground independently. these bits are located in register 0fh and are bits 0?. the midscale reference voltage that each a/d converter clamps to is provided independently on the r midsc v, g midsc v, and b midsc v pins. each converter must have its own midscale refer- ence because both offset adjustment and gain adjustment for each converter will affect the dc level of midscale. during clamping, each a/d converter is clamped to its respec- tive midscale reference input. these inputs are pins r clamp v, g clamp v, and b clamp v for the red, green, and blue converters respectively. the typical connections for both rgb and yuv clamping are shown below in figure 2. note: if midscale clamp- ing is not required, all of the midscale voltage outputs should still be connected to ground through a 0.1 f capacitor. r midsc v r clamp v g midsc v g clamp v b midsc v b clamp v 0.1  f 0.1  f 0.1  f figure 2. typical clamp configuration for rbg/yuv applications gain and offset control the ad9886 can accommodate input signals with inputs rang- ing from 0.5 v to 1.0 v full scale. the full-scale range is set in three 8-bit registers (red gain, green gain, and blue gain). note that increasing the gain setting results in an image with less contrast. the offset control shifts the entire input range, resulting in a change in image brightness. three 7-bit registers (red offset, green offset, blue offset) provide independent settings for each channel. the offset controls provide a 63 lsb adjustment range. this range is connected with the full-scale range, so if the input range is doubled (from 0.5 v to 1.0 v) then the offset step size is also doubled (from 2 mv per step to 4 mv per step). figure 3 illustrates the interaction of gain and offset controls. the magnitude of an lsb in offset adjustment is proportional to the full-scale range, so changing the full-scale range also changes the offset. the change is minimal if the offset setting is near midscale. when changing the offset, the full-scale range is not affected, but the full-scale level is shifted by the same am ount as the zero-scale level. gain 1.0v 0.0v 00h ffh input range 0.5v offset = 00h offset = 3fh offset = 7fh offset = 00h offset = 7fh offset = 3fh figure 3. gain and offset control
rev. 0 ad9886 C12C sync-on-green the sync-on-green input operates in two steps. first, it sets a baseline clamp level from the incoming video signal with a negative peak detector. second, it sets the sync trigger level to ~150 mv above the negative peak. the sync-on-green input must be ac-coupled to the green analog input through its own capacitor as shown in figure 4. the value of the capacitor must be 1 nf 20%. if sync-on-green is not used, this connection is not required. (note: the sync-on-green signal is always nega- tive polarity.) r ain b ain g ain sog 47nf 47nf 47nf 1nf figure 4. typical clamp configuration for rgb/yuv applications clock generation a phase locked loop (pll) is employed to generate the pixel clock. in this pll, the hsync input provides a reference fre- quency. a voltage controlled oscillator (vco) generates a much higher pixel clock frequency. this pixel clock is divided by the pll divide value (registers 01h and 02h) and phase compared with the hsync input. any error is used to shift the vco frequency and maintain lock between the two signals. the stability of this clock is a very important element in provid- ing the clearest and most stable image. during each pixel time, there is a period during which the signal is slewing from the old pixel amplitude and settling at its new value. then there is a time when the input voltage is stable, before the signal must slew to a new value (see figure 5). the ratio of the slewing time to the stable time is a function of the bandwidth of the graphics dac and the bandwidth of the transmission system (cable and termination). it is also a function of the overall pixel rate. clearly, if the dynamic characteristics of the system remain fixed, the slewing and settling time is likewise fixed. this time must be subtracted from the total pixel period, leaving the stable period. at higher pixel frequencies, the total cycle time is shorter, and the stable pixel time becomes shorter as well. pixel clock invalid sample times figure 5. pixel sampling times any jitter in the clock reduces the precision with which the sampling time can be determined, and must also be subtracted from the stable pixel time. considerable care has been taken in the design of the ad9886? clock generation circuit to minimize jitter. as indicated in fig- ure 6, the clock jitter of the ad9886 is less than 5% of the total pixel time in all operating modes, making the reduction in the valid sampling time due to jitter negligible. frequency ?mhz 14 12 0 0 pixel clock jitter (p-p) ?% 10 8 6 4 2 31.5 36.0 36.0 50.0 56.25 44.9 75.0 85.5 135.0 figure 6. pixel clock jitter vs. frequency the pll characteristics are determined by the loop filter design, by the pll charge pump current and by the vco range setting. the loop filter design is illustrated in figure 7. recom- mended settings of vco range and charge pump current for vesa standard display modes are listed in table iv. c p 0.0039  f 0.039  f c z 3.3k  r z filt pv d figure 7. pll loop filter detail four programmable registers are provided to optimize the per- formance of the pll. these registers are: 1. the 12-bit divisor register. the input hsync frequencies range from 15 khz to 110 khz. the pll multiplies the frequency of the hsync signal, producing pixel clock fre- quencies in the range of 12 mhz to 140 mhz. the divisor register controls the exact multiplication factor. this register may be set to any value between 221 and 4095. (the divide ratio that is actually used is the programmed divide ratio plus one.) 2. the 2-bit vco range register. to lower the sensitivity of the output frequency to noise on the control signal, the vco operating frequency range is divided into four overlapping regions. the vco range register sets this operating range. because there are only four possible regions, only the two least-significant bits of the vco range register are used. the frequency ranges for the lowest and highest regions are shown in table ii.
rev. 0 ad9886 C13C table iv. recommended vco range and charge pump current settings for standard display formats refresh horizontal standard resolution rate frequency pixel rate vcornge current vga 640 480 60 hz 31.5 khz 25.175 mhz 00 101 72 hz 37.7 khz 31.500 mhz 00 101 75 hz 37.5 khz 31.500 mhz 00 110 85 hz 43.3 khz 36.000 mhz 00 110 svga 800 600 56 hz 35.1 khz 36.000 mhz 00 101 60 hz 37.9 khz 40.000 mhz 01 101 72 hz 48.1 khz 50.000 mhz 01 101 75 hz 46.9 khz 49.500 mhz 01 101 85 hz 53.7 khz 56.250 mhz 01 110 xga 1024 768 60 hz 48.4 khz 65.000 mhz 01 110 70 hz 56.5 khz 75.000 mhz 10 101 75 hz 60.0 khz 78.750 mhz 10 101 80 hz 64.0 khz 85.500 mhz 10 101 85 hz 68.3 khz 94.500 mhz 10 101 sxga 1280 1024 60 hz 64.0 khz 108.000 mhz 10 110 75 hz 80.0 khz 135.000 mhz 11 110 85 hz 91.1 khz 157.500 mhz * 10 110 uxga 1600 1200 60 hz 75.0 khz 162.000 mhz * 10 110 65 hz 81.3 khz 175.500 mhz * 10 110 70 hz 87.5 khz 189.000 mhz * 10 110 75 hz 93.8 khz 202.500 mhz * 10 110 85 hz 106.3 khz 229.500 mhz * 11 110 * graphics sampled at one-half the incoming pixel rate using alternate pixel sampling mode. table ii. vco frequency ranges pixel clock k vco gain pv1 pv0 range (mhz) (mhz/v) 0 0 12?5 150 0 1 35?0 150 1 0 70?10 150 1 1 110?40 180 3. the 3-bit charge pump current register. this register allows the current that drives the low pass loop filter to be varied. the possible current values are listed in table iii. table iii. charge pump current/control bits ip2 ip1 ip0 current (  a) 00050 0 0 1 100 0 1 0 150 0 1 1 250 1 0 0 350 1 0 1 500 1 1 0 750 1 1 1 1500 4. the 5-bit phase adjust register. the phase of the generated sampling clock may be shifted to locate an optimum sam- pling point within a clock cycle. the phase adjust register provides 32 phase-shift steps of 11.25 each. the hsync signal with an identical phase shift is available through the hsout pin. phase adjustment is still available if the pixel clock is being provided externally. the coast pin is used to allow the pll to continue to run at the same frequency, in the absence of the incoming hsync signal. this may be used during the vertical sync period, or any other time that the hsync signal is unavailable. the polarity of the coast signal may be set through the coast polarity register. also, the polarity of the hsync signal may be set through the hsync polarity register. for both hsync and coast, a value of ??inverts the signal.
rev. 0 ad9886 C14C adc dac dac 7 8 offset gain ref x1.2 in clamp v off 8 figure 8. adc block diagram (single channel output) 1v input range v off (128 codes) input range 0.5v v off (128 codes) offset range 0v 0v offset range figure 9. relationship of offset range to input range scan function the scan function is intended as a pseudo jtag function for manufacturing test for the board. the ordinary operation of the ad9886 is disabled during scan. to enable the scan function, set register 14h, bit 2 to 1. to scan in data to all 48 digital outputs, apply 48 serial bits of data and 48 clocks (typically 5 mhz, max of 20 mhz) to the scan in and scan clk pins respectively. the data is shifted in on the rising edge of scan clk . the first serial bit shifted in will appear at the red a<7> output after one clock cycle. after 48 clocks, the first bit is shifted all the way to the blu b<0>. the 48th bit will now be at the red a<7> output. if scan clk continues after 48 cycles, the data will continue to be shifted from red a<7> to blu b<0> and will come out of the scan out pin as serial data on the falling edge of scan clk . this is illustrated in figure 10. a setup time (tsu) of 3 ns should be plenty and no hold time (thold) is required ( 0 ns). this is illustrated in figure 11. scanclk red a<7> blue b<0> scanout scanin bit 1 bit 2 bit 3 bit 47 bit 48 x bit 1 bit 1 bit 1 bit 46 bit 47 bit 48 x x x x x x bit 1 bit 2 x bit 1 bit 2 x x x x figure 10. scan timing t su = 3ns t hold = 0ns scanclk scanin figure 11. scan setup and hold alternate pixel sampling mode a logic 1 input on clock invert (ckinv, pin 94) inverts the nominal adc clock. ckinv can be switched between frames to implement the alternate pixel sampling mode. this allows higher effective image resolution to be achieved at lower pixel rates but with lower frame rates. oeoeoeoeoeoe oeoeoeoeoeoe oeoeoeoeoeoe oeoeoeoeoeoe oeoeoeoeoeoe oeoeoeoeoeoe oeoeoeoeoeoe oeoeoeoeoeoe oeoeoeoeoeoe oeoeoeoeoeoe oeoeoeoeoeoe figure 12. odd and even pixels in a frame on one frame, only even pixels are digitized. on the subsequent frame, odd pixels are sampled. by reconstructing the entire frame in the graphics controller, a complete image can be recon- structed. this is very similar to the interlacing process that is employed in broadcast television systems, but the interlacing is vertical instead of horizontal. the frame data is still presented to the display at the full desired refresh rate (usually 60 hz) so no flicker artifacts added. o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 o1 e1 figure 13. odd pixels from frame 1
rev. 0 ad9886 C15C o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 o2 e2 figure 14. even pixels from frame 2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 o1 e2 figure 15. combine frame output from graphics controller o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 o3 e2 figure 16. subsequent frame from controller timing (analog interface) the following timing diagrams show the operation of the ad9886 analog interface in all clock modes. the part estab- lishes timing by having the sample that corresponds to the pixel digitized when the leading edge of hsync occurs sent to the ??data port. in dual channel mode, the next sample is sent to the ??port. future samples are alternated between the ? and ??data ports. in single channel mode, data is only sent to the ??data port, and the ??port is placed in a high impedance state. the output data clock signal is created so that its rising edge always occurs between ??data transitions, and can be used to latch the output data externally. there is a pipeline in the ad9886, which must be flushed before valid data becomes available. in all single channel modes, four data sets are presented before valid data is available. in all dual channel modes, two data sets are presented before valid ? port data is available. t per t cycle t skew datack datack\ data hsout figure 17. output timing hsync timing horizontal sync is processed in the ad9886 to eliminate ambiguity in the timing of the leading edge with respect to the phase-delayed pixel clock and data. the hsync input is used as a reference to generate the pixel sampling clock. the sampling phase can be adjusted, with respect to hsync, through a full 360 in 32 steps via the phase adjust register (to optimize the pixel sampling time). display systems use hsync to align memory and display write cycles, so it is impor tant to have a stable timing relationship between hsync output (hsout) and data clock (datack). three things happen to horizontal sync in the ad9886. first, the polarity of hsync input is determined and will thus have a known output polarity. the known output polarity can be pro- grammed either active high or active low (register 04h, bit 4). second, hsout is aligned with datack and data outputs. third, the duration of hsout (in pixel clocks) is set via regis- ter 07h. hsout is the sync signal that should be used to drive the rest of the display system. coast timing in most computer systems, the hsync signal is provided con- tinuously on a dedicated wire. in these systems, the coast input and function are unnecessary, and should not be used. in some systems, however, hsync is disturbed during the verti- cal sync period (vsync). in some cases, hsync pulses disappear. in other systems, such as those that employ composite sync (csync) signals or embed sync-on-green (sog), hsync includes equalization pulses or other distortions during vsync. to avoid upsetting the clock generator during vsync, it is important to ignore these distortions. if the pixel clock pll sees extraneous pulses, it will attempt to lock to this new frequency, and will have changed frequency by the end of the vsync period. it will then take a few lines of correct hsync timing to recover at the beginning of a new frame, resulting in a ?earing?of the image at the top of the display. the coast input is provided to eliminate this problem. it is an asynchronous input that disables the pll input and allows the clock to free-run at its then-current frequency. the pll can free-run for several lines without significant frequency drift.
rev. 0 ad9886 C16C p0 p1 p2 p3 p4 p5 p6 p7 5-pipe delay d0 d1 d2 d3 d4 d5 d6 d7 rgb in hsync pxck hs adcck datack d outa hsout figure 18. single-channel mode 5-pipe delay d0 d2 d4 d6 p0 p1 p2 p3 p4 p5 p6 p7 rgb in hsync pxck hs adcck datack d outa hsout figure 19. single-channel mode, 2 pixels/clock (even pixels) 5.5-pipe delay d1 d3 d5 d7 p0 p1 p2 p3 p4 p5 p6 p7 rgb in hsync pxck hs adcck datack d outa hsout figure 20. single-channel mode, 2 pixels/clock (odd pixels)
rev. 0 ad9886 C17C p0 p1 p2 p3 p4 p5 p6 p7 5-pipe delay d0 d2 d4 d6 d1 d3 d5 d7 rgb in hsync pxck hs adcck datack d outa hsout d outb figure 21. dual-channel mode, interleaved outputs p0 p1 p2 p3 p4 p5 p6 p7 6-pipe delay d0 d1 d2 d3 d4 d5 d6 d7 rgb in hsync pxck hs adcck datack d outa hsout d outb figure 22. dual-channel mode, parallel outputs 5-pipe delay p0 p1 p2 p3 p4 p5 p6 p7 d4 d2 d6 rgb in hsync pxck hs adcck datack d outa hsout d outb d0 figure 23. dual-channel mode, interleaved outputs, 2 pixels/clock (even pixels)
rev. 0 ad9886 C18C 5.5-pipe delay d1 d5 d3 d7 p0 p1 p2 p3 p4 p5 p6 p7 rgb in hsync pxck hs adcck datack d outa hsout d outb figure 24. dual-channel mode, interleaved outputs, 2 pixels/clock (odd pixels) 6-pipe delay p0 p1 p2 p3 p4 p5 p6 p7 d0 d4 d2 d6 rgb in hsync pxck hs addck datack d outa d outb hsout figure 25. dual-channel mode, parallel outputs, 2 pixels/clock (even pixels) 6.5-pipe delay p0 p1 p2 p3 p4 p5 p6 p7 d1 d5 d3 d7 rgb in hsync pxck hs adcck datack d outa d outb hsout figure 26. dual-channel mode, parallel outputs, 2 pixels/clock (odd pixels)
rev. 0 ad9886 C19C 2-wire serial register map the ad9886 is initialized and controlled by a set of registers, which determine the operating m odes. an external controller is employed to write and read the control registers through the 2-line serial interface port. table v. control register map write and hex read or default register address read only bits value name function 0 0h ro 7:0 chip revision bits 7 through 4 represent functional revisions to the analog interface. bits 3 through 0 represent nonfunctional related revisions. revision 0 = 0000 0000 01h r/ w 7:0 01101001 pll div msb this register is for bits [11:4] of the pll divider. larger values mean the pll operates at a faster rate. this register should be loaded first whenever a change is needed. (this will give the pll more time to lock.) see note 1 . 02h r/ w 7:4 1101 **** pll div lsb bits [7:4] lsbs of the pll divider word. see note 1. 03h r/ w 7:2 1 ******* vco/cpmp bit 7?ust be set to 1 for proper device operation. * 01 ***** bits [6:5] vco range. selects vco frequency range. (see pll description.) *** 001 ** bits [4:2] charge pump current. varies the current that drives the low-pass filter. (see pll description.) 04h r/ w 7:3 01000 *** phase adjust adc clock phase adjustment. larger values mean more delay. (1 lsb = t/32.) 05h r/ w 7:0 10000000 clamp pl aces the clamp signal an integer number of clock periods after the trail- placement ing edge of the hsync signal. 06h r/ w 7:0 10000000 clamp number of clock periods that the clamp signal is actively clamping. duration 07h r/ w 7:0 00100000 hsync output sets the number of pixel clocks that hsout will remain active. pulsewidth 08h r/ w 7:0 10000000 red gain controls adc input range (contrast) of each respective channel. bigger values give less contrast. 09h r/ w 7:0 10000000 green gain 0ah r/ w 7:0 10000000 blue gain 0bh r/ w 7:1 1000000 * red offset controls dc offset (brightness) of each respective channel. bigger values decrease brightness. 0ch r/ w 7:1 1000000 * green offset 0dh r/ w 7:1 1000000 * blue offset 0eh r/ w 7:3 1 ******* mode bit 7?hannel mode. determines single channel or dual channel control 1 output mode. (logic 0 = single channel mode, logic 1 = dual channel mode.) * 1 ****** bit 6?utput mode. determine interleaved or parallel output mode. (logic 0 = interleaved mode, logic 1 = parallel mode.) ** 0 ***** bit 5?/b invert. determines which port outputs the first data byte after hsync. (logic 0 = a port, logic 1 = b port.) *** 1 **** bit 4?sync output polarity. (logic 0 = logic high sync, logic 1 = logic low sync.) **** 1 *** bit 3?sync output invert. (logic 0 = no invert, logic 1 = invert.)
rev. 0 ad9886 C20C table v. control register map (continued) write and hex read or default register address read only bits value name function 0fh w /r 7:0 1 ******* pll and bit 7?sync polarity. changes polarity of incoming hsync clamp control signal. (logic 0 = active low, logic 1 = active high.) * 1 ****** bit 6?oast polarity. changes polarity of external coast signal. (logic = 0 = active low, logic 1 = active high.) ** 0 ***** bit 5?lamp function. chooses between hsync for clamp signal or another external signal to be used for clamping. (lo gic 0 = hsync, logic 1 = clamp.) *** 1 **** bit 4?lamp polarity. valid only with external clamp signal. (logic 0 = active low, logic 1 selects active high.) **** 0 *** bit 3?xtclk. shuts down pll and allows external clock to drive the part. (logic 0 = use internal pll, logic 1 = bypassing of the internal pll.) ***** 0 ** bit 2?ed clamp select?ogic 0 selects clamp to ground. logic 1 selects clamp to midscale (voltage at pin 120). ****** 0 * bit 1?reen clamp select?ogic 0 selects clamp to ground. logic 1 selects clamp to midscale (voltage at pin 111). ******* 0 bit 0?lue clamp select?ogic 0 selects clamp to ground. logic 1 selects clamp to midscale (voltage at pin 101). 10h w /r 5:2 ** 11 **** bit 5, 4?utput drive: selects between high, medium, and low output drive strength. (logic 11 or 10 = high, 01 = medium, and 00 = low.) **** 0 *** bit 3? do : high impedance outputs. (logic 0 = normal, logic 1 = high impedance.) ***** 1 ** bit 2?ync detect (syncdt) polarity. this bit sets the polarity for the syncdt output pin. (logic 1 = active high, logic 0 = active low.) 11h ro 7:1 sync detect/ bit 7?nalog interface hsync detect. it is set to logic 1 if hsync active is present on the analog interface, else it is set to logic 0. interface bit 6?nalog interface sync-on-green detect. it is set to logic 1 if sync is present on the green video input, else it is set to 0. bit 5?nalog interface vsync detect. it is set to logic 1 if vsync is present on the analog interface, else it is set to logic 0. bit 4?igital interface clock detect. it is set to logic 1 if the clock is present on the digital interface, else it is set to logic 0. bit 3?i: active interface. this bit indicates which interface is active. (logic 0 = digital interface, logic 1 = analog interface.) bit 2?hs: active hsync. this bit indicates which analog h sync is being used. (logic 0 = hsync input pin, logic 1 = hsync from sync-on-green.) bit 1?vs: active vsync. this bit indicates which analog vsync is being used. (logic 0 = vsync input pin, logic 1 = vsync from sync separator.)
rev. 0 ad9886 C21C table v. control register map (continued) write and hex read or default register address read only bits value name function 12h w /r 7:0 0 ******* active bit 7?io: active interface override. if set to logic 1, the user interface can select the active interface via bit 6. if set to logic 0, the active interface is selected via bit 3 in register 11h. * 0 ****** bit 6?is: active interface select. logic 0 s elects the analog inter- face as active. logic 1 selects the digital interface as active. note: the indicated interface will be active only if bit 7 is set to logic 1 or if both interfaces are active (bits 6 or 7 and 4 = logic 1 in register 11h). ** 0 ***** bit 5active hsync override. if set to logic 1, the user can select the hsync to be used via bit 4. if set to logic 0, the active interface is selected via bit 2 in register 11h. *** 0 **** bit 4?ctive hsync select. logic 0 selects hsync as the active sync. logic 1 selects sync-on-green as the active sync. note: the indicated hsync will be used only if bit 5 is set to logic 1 or if both syncs are active (bits 6, 7 = logic 1 in register 11h.) **** 0 *** bit 3?ctive vsync override. if set to logic 1, the user can select the vsync to be used via bit 2. if set to logic 0, the active interface is selected via bit 1 in register 11h. ***** 0 ** bit 2?ctive vsync select. logic 0 selects raw vsync as the output vsync. logic 1 selects sync separated vsync as the output vsync. note: the indicated vsync will be used only if bit 3 is set to logic 1. ****** 0 * bit 1?oast select. logic 0 selects the coast input pin to be used for the pll coast. logic 1 selects vsync to be used for the pll coast. ******* 1 bit 0 pwrdn . full chip power-down, active low. (logic 0 = full chip power-down, logic 1 = normal.) 13h w /r 7:0 00100000 sync sync separator threshold?ets how many pixel clocks the sync separator separator will count to before toggling high or low. this should be threshold set to some number greater than the maximum hsync or equaliza- tion pulsewidth. 14h w /r 7:0 *** 1 **** control bits bit 4?est bit. (must be set to 1 for proper operation of chip.) ***** 0 ** bit 2?can enable. (logic 0 = not enabled, logic 1 = enabled.) ****** 0 * bit 1?oast polarity override. (logic 0 = polarity determined by chip, logic 1 = polarity set by bit 6 in register 0fh.) ******* 0 bit 0?hsync polarity override. (logic 0 = polarity determined by chip, logic 1 = polarity set by bit 7 in register 0fh.) 15h w /r 7:0 test register reserved for future use. 16h w /r 7:0 test register reserved for future use. 17h ro 7:0 test register reserved for future use. 18h ro 7:0 test register reserved for future use. note 1 the ad9886 only updates the pll divide ratio when the lsbs are written to (register 02h).
rev. 0 ad9886 C22C two-wire serial control register detail chip identification 00 7? chip revision bits 7 through 4 represent functional revisions to the analog interface. changes in these bits will generally indicate that software and/or hardware changes will be required for the chip to work properly. bits 3 through 0 represent nonfunctional related revisions and are reset to 0000 whenever the msbs are changed. changes in these bits are considered transparent to the user. pll divider control 01 7? pll divide ratio msbs the eight most significant bits of the 12-bit pll divide ratio plldiv. (the operational divide ratio is plldiv + 1.) the pll derives a master clock from an incoming hsync signal. the master clock frequency is then divided by an integer value, such that the output is phase-locked to hsync. this plldiv value determines the number of pixel times (pixels plus horizontal blanking overhead) per line. this is typically 20% to 30% more than the number of active pixels in the display. the 12-bit value of the pll divider supports divide ratios from 2 to 4095. the higher the value loaded in this regis- ter, the higher the resulting clock frequency with respect to a fixed hsync frequency. vesa has established some standard timing specifica tions, which will assist in determining the value for plldiv as a function of horizontal and vertical display resolution and frame rate (table iv). however, many computer systems do not conform pre- cisely to the recommendations, and these numbers should be used only as a guide. the display system manufacturer should provide automatic or manual means for optimizing plldiv. an incorrectly set plldiv will usually produce one or more vertical noise bars on the display. the greater the error, the greater the number of bars produced. the power-up default value of plldiv is 1693 (plldivm = 69h, plldivl = dxh). the ad9886 updates the full divide ratio only when the lsbs are changed. writing to this register by itself will not trigger an update. 02 7? pll divide ratio lsbs the four least significant bits of the 12-bit pll divide ratio plldiv. the operational divide ratio is plldiv + 1. the power-up default value of plldiv is 1693 (plldivm = 69h, plldivl = dxh). the ad9886 updates the full divide ratio only when this register is written to. clock generator control 03 7 test set to one 03 6? vco range select two bits that establish the operating range of the clock generator. vcornge must be set to correspond with the desired operating frequency (incoming pixel rate). the pll gives the best jitter performance at high fre- quencies. for this reason, in order to output low pixel rates and still get good jitter performance, the pll actu- ally operates at a higher frequency but then divides down the clock rate afterwards. table vi shows the pixel rates for each vco range setting. the pll output divisor is automatically selected with the vco range setting. table vi. vco ranges vcornge pixel rate range 00 12?5 01 35?0 10 70?10 11 110?40 the power-up default value is = 01. 03 4? current charge pump current three bits that establish the current driving the loop filter in the clock generator. table vii. charge pump currents current current (  a) 000 50 001 100 010 150 011 250 100 350 101 500 110 750 111 1500 current must be set to correspond with the desired operating frequency (incoming pixel rate). the power-up default value is current = 001. 04 7? clock phase adjust a five-bit value that adjusts the sampling phase in 32 steps across one pixel time. each step represents an 11.25 shift in sampling phase. the power-up default value is 16. clamp timing 05 7? clamp placement an eight-bit register that sets the position of the internally generated clamp. when extclmp = 0, a clamp signal is generated inter- nally, at a position established by the clamp placement and for a duration set by the clamp duration. clamping is started (clamp placement) pixel periods after the trailing edge of hsync. the clamp placement may be programmed to any value between 1 and 255. a value of 0 is not supported. the clamp should be placed during a time that the input signal presents a stable black-level reference, usually the back porch period between hsync and the image. when extclmp = 1, this register is ignored.
rev. 0 ad9886 C23C 06 7? clamp duration an 8-bit register that sets the duration of the internally generated clamp. when extclmp = 0, a clamp signal is generated inter- nally, at a position established by the clamp placement and for a duration set by the clamp duration. clamping is started (clamp placement) pixel periods after the trailing edge of hsync, and continues for (clamp duration) pixel periods. the clamp duration may be programmed to any value between 1 and 255. a value of 0 is not supported. for the best results, the clamp duration should be set to include the majority of the black reference signal time that follows the hsync signal trailing edge. insufficient clamp- ing time can produce brightness changes at the top of the screen, and a slow recovery from large changes in the average picture level (apl), or brightness. when extclmp = 1, this register is ignored. hsync pulsewidth 07 7? hsync output pulsewidth an 8-bit register that sets the duration of the hsync output pulse. the leading edge of the hsync output is triggered by the internally generated, phase-adjusted pll feedback clock. the ad9886 then counts a number of pixel clocks equal to the value in this register. this triggers the trailing edge of the hsync output, which is also phase-adjusted. input gain 08 7? red channel gain adjust an 8-bit word that sets the gain of the red channel. the ad9886 can accommodate input signals with a full-scale range of between 0.5 v and 1.5 v p-p. setting redgain to 255 corre sponds to an in put range of 1.0 v. a redgain of 0 establishes an input range of 0.5 v. note that increasing redgain results in the pic ture having less contrast (the input signal uses fewer of the available converter codes). see figure 3. 09 7? green channel gain adjust an 8-bit word that sets the gain of the green channel. see redgain (08). 0a 7? blue channel gain adjust an 8-bit word that sets the gain of the blue channel. see redgain (08). input offset 0b 7? red channel offset adjust a 7-bit offset binary word that sets the dc offset of the red channel. one lsb of offset adjustment equals approxim ately one lsb change in the adc offset. therefore, the abso lute magnitude of the offset adjustment scales as the gain of the channel is changed. a nominal setting of 31 results in the channel nominally clamping the back porch (during the clamping interval) to code 00. an offset setting of 63 results in the channel clamping to code 31 of the adc. an offset setting of 0 clamps to code ?1 (off the bottom of the range). increasing the value of red offset decreases the brightness of the channel. 0c 7? green channel offset adjust a 7-bit offset binary word that sets the dc offset of the green channel. see redofst (0b). 0d 7? blue channel offset adjust a 7-bit offset binary word that sets the dc offset of the green channel. see redofst (0b). mode control 1 0e 7 channel mode a bit that determines whether all pixels are presented to a single port (a), or alternating pixels are demultiplexed to ports a and b. table viii. channel mode settings demux function 0 all data goes to port a 1 alternate pixels go to port a and port b when demux = 0, port b outputs are in a high-imped- ance state. the maximum data rate for single port mode is 100 mhz. the timing diagrams show the effects of this option. the power-up default value is 1. 0e 6 output mode a bit that determines whether all pixels are presented to port a and port b simultaneously on every second datack rising edge, or alternately on port a and port b on successive datack rising edges. table ix. output mode settings parallel function 0 data is interleaved 1 data is simultaneous on every other data clock when in single port mode (demux = 0), this bit is ignored. the timing diagrams show the effects of this option. the power-up default value is parallel = 1. 0e 5 output port phase one bit that determines whether even pixels or odd pixels go to port a. table x. output port phase settings outphase first pixel after hsync 0 port a 1 port b in normal operation (outphase = 0), when operating in dual-port output mode (demux = 1), the first sample after the hsync leading edge is presented at port a. every subsequent odd sample appears at port a. all even samples go to port b. when outphase = 1, these ports are reversed and the first sample goes to port b. when demux = 0, this bit is ignored as data always comes out of only port a.
rev. 0 ad9886 C24C 0e 4 hsync output polarity one bit that determines the polarity of the hsync out- put and the sog output. table xi shows the effect of this option. sync indicates the logic state of the sync pulse. table xi. hsync output polarity settings setting sync 0 logic 1 (positive polarity) 1 logic 0 (negative polarity) the default setting for this register is 1. (this option works on both the analog and digital interfaces.) 0e 3 vsync output invert one bit that inverts the polarity of the vsync output. table xii shows the effect of this option. table xii. vsync output polarity settings setting vsync output 0 no invert 1 invert the default setting for this register is 1. (this option works on both the analog and digital interfaces.) 0f 7 hspol hsync input polarity a bit that must be set to indicate the polarity of the hsync signal that is applied to the pll hsync input. table xiii. hsync input polarity settings hspol function 0 active low 1 active high active low is the traditional negative-going hsync pulse. all timing is based on the leading edge of hsync, which is the falling edge. the rising edge has no effect. active high is inverted from the traditional hsync, with a positive-going pulse. this means that timing will be based on the leading edge of hsync, which is now the rising edge. the device will operate if this bit is set incorrectly, but the internally generated clamp position, as established by clpos, will not be placed as expected, which may gener- ate clamping errors. the power-up default value is hspol = 1. 0f 6 coast input polarity a bit to indicate the polarity of the coast signal that is applied to the pll coast input. table xiv. coast input polarity settings cstpol function 0 active low 1 active high active low means that the clock generator will ignore hsync inputs when coast is low, and continue oper- ating at the same nominal frequency until coast goes high. active high means that the clock generator will ignore hsync inputs when coast is high, and continue oper- ating at the same nominal frequency until coast goes low. this function needs to be used along with the coast polarity override bit (register 14, bit 1). the power-up default value is cstpol = 1. 0f 5 clamp input signal source a bit that determines the source of clamp timing. table xv. clamp input signal source settings extclmp function 0 internally-generated clamp 1 externally-provided clamp signal a 0 enables the clamp timing circuitry controlled by clplace and cldur. the clamp position and dura- tion is counted from the leading edge of hsync. a 1 enables the external clamp input pin. the three channels are clamped when the clamp signal is active. the polarity of clamp is determined by the clampol bit. the power-up default value is extclmp = 0. 0f 4 clamp input signal polarity a bit that determines the polarity of the externally pro- vided clamp signal. table xvi. clamp input signal polarity settings extclmp function 0 active low 1 active high a logic 0 means that the circuit will clamp when clamp is high, and it will pass the signal to the adc when clamp is low. a logic 1 means that the circuit will clamp when clamp is low, and it will pass the signal to the adc when clamp is high. the power-up default value is clampol = 1. 0f 3 external clock select a bit that determines the source of the pixel clock. table xvii. external clock select settings extclk function 0 internally generated clock 1 externally provided clock signal a logic 0 enables the internal pll that generates the pixel clock from an externally provided hsync. a logic 1 enables the external ckext input pin. in this mode, the pll divide ratio (plldiv) is ignored. the clock phase adjust (phase) is still functional. the power-up default value is extclk = 0.
rev. 0 ad9886 C25C 0f 2 red clamp select a bit that determines whether the red channel is clamped to ground or to midscale. for rgb video, all three chan- nels are referenced to ground. for ycbcr (or yuv), the y channel is referenced to ground, but the cbcr channels are referenced to midscale. clamping to midscale actually clamps to pin 118, r clamp v. table xviii. red clamp select settings clamp function 0 clamp to ground 1 clamp to midscale (pin 118) the default setting for this register is 0. 0f 1 green clamp select a bit that determines whether the green channel is clamped to ground or to midscale. table xix. green clamp select settings clamp function 0 clamp to ground 1 clamp to midscale (pin 109) the default setting for this register is 0. 0f 0 blue clamp select a bit that determines whether the blue channel is clamped to ground or to midscale. table xx. blue clamp select settings clamp function 0 clamp to ground 1 clamp to midscale (pin 99) the default setting for this register is 0. mode control 2 10 7 clk inv data output clock invert a control bit for the inversion of the output data clocks, (pins 134, 135). this function works only for the digital interface. when not inverted, data is output on the rising edge of the data clock. see timing diagrams to see how this affects timing. table xxi. clock output invert settings clk inv function 0 not inverted 1 inverted the default for this register is 0, not inverted. 10 6 pix select this bit selects either 1 or 2 pixels per clock mode for the digital interface. it determines whether the data comes out of a single port (even port only), at the full data rate or out of two ports (both even and odd ports) at one-half the full data rate per port. a logic 0 selects 1 pixel per clock (even port only). a logic 1 selects 2 pixels per clock (both ports). see the digital interface timing diagrams, fig- ures 29 to 32, for a visual representation of this function. note: this function operates exactly like the demux function on the analog interface. table xxii. pix select settings pix select function 0 1 pixel per clock 1 2 pixels per clock the default for this register is 0, 1 pixel per clock. 10 5, 4 output drive these two bits select the drive strength for the high-speed digital outputs (all data output and clock output pins). higher drive strength results in faster rise/fall times and in general makes it easier to capture data. lower drive strength results in slower rise/fall times and helps to reduce emi and digitally generated power supply noise. the exact timing specifications for each of these modes are specified in the table iv. table xxiii. output drive strength settings bit 5 bit 4 result 1 1 high drive strength 1 0 medium drive strength 0 x low drive strength the default for this register is 11, high drive strength. (this option works on both the analog and digital interfaces.) 10 3 p do ?ower-down outputs a bit that can put the outputs in a high impedance mode. this applies only to the 48 data output pins and the two data clock outputs pins. table xxiv. power-down outputs settings ckinv function 0 normal operation 1 three-state the default for this register is 0. (this option works on both the analog and digital interfaces.) 10 2 sync detect polarity this pin controls the polarity of the sync detect output pin (pin 136). table xxv. sync detect polarity settings polarity function 0 activity = logic 1 output 1 activity = logic 0 output the default for this register is 0. (this option works on both the analog and digital interfaces.)
rev. 0 ad9886 C26C sync detection and control 11 7 analog interface hsync detect this bit is used to indicate when activity is detected on the hsync input pin (pin 82). if hsync is held high or low, activity will not be detected. table xxvi. hsync detection results detect function 0 no activity detected 1 activity detected figure 38 shows where this function is implemented. 11 6 analog interface sync-on-green detect this bit is used to indicate when sync activity is detected on the sync-on-green input pin (pin 108). table xxvii. sync-on-green detection results detect function 0 no activity detected 1 activity detected figure 38 shows where this function is implemented. warning: if no sync is present on the green video input, normal video may still trigger activity. 11 5 analog interface vsync detect this bit is used to indicate when activity is detected on the vsync input pin (pin 81). if vsync is held high or low, activity will not be detected. table xxviii. vsync detection results detect function 0 no activity detected 1 activity detected figure 38 shows where this function is implemented. 11 4 digital interface clock detect this bit is used to indicate when activity is detected on the digital interface clock input. table xxix. digital interface clock detection results detect function 0 no activity detected 1 activity detected the sync processing block diagram shows where this function is implemented. 11 3 active interface this bit is used to indicate which interface should be active, analog or digital. it checks for activity on the analog interface and for activity on the digital interface, then determines which should be active according to table xxx. specifically, analog interface detection is determined by or-ing bits 7, 6, and 5 in this register. digital interface detection is determined by bit 4 in this register. if both interfaces are detected, the user can determine which has priority via bit 6 in register 12h. the user can override this function via bit 7 in register 12h. if the override bit is set to logic 1, then this bit will be forced to whatever the state of bit 6 in register 12h is set to. table xxx. active interface results bits 7, 6, or 5 bit 4 (analog (digital detection) detection) override ai 0 0 0 soft power-down (seek mode) 0101 1000 1 1 0 bit 6 in 12h x x 1 bit 6 in 12h ai = 0 means analog interface. ai = 1 means digital interface. the override bit is in register 12h, bit 7. 11 2 ahs?ctive hsync this bit is used to determine which hsync should be used for the analog interface, the hsync input or sync- on-green. it uses bits 7 and 6 in this register for inputs in determining which should be active. similar to the previ- ous bit, if both hsync and sog are detected the user can determine which has priority via bit 4 in register 12h. the user can override this function via bit 5 in register 12h. if the override bit is set to logic 1, this bit will be forced to whatever the state of bit 4 in register 12h is set to. table xxxi. active hsync results bit 7 bit 6 (hsync (sog detect) detect) override ahs 0 0 0 bit 4 in 12h 0 101 1 000 1 1 0 bit 4 in 12h x x 1 bit 4 in 12h ahs = 0 means use the hsync pin input for hsync. ahs = 1 means use the sog pin input for hsync. the override bit is in register 12h, bit 5. 11 1 avs?ctive vsync this bit is used to determine which vsync should be used for the analog interface; the vsync input or output from the sync separator. it uses bit 5 in this register as the input for determining which should be active. similar to the previous bit, if both hsync and sog are detected the user can determine which has priority via bit 4 in register 12h. the user can override this function via bit 3 in register 12h. if the override bit is set to logic 1, this bit will be forced to whatever the state of bit 2 in register 12h is set to.
rev. 0 ad9886 C27C table xxxii. active vsync results bit 5 (vsync detect) override avs 000 101 x 1 bit 2 in 12h avs = 0 means sync separator. avs = 1 means vsync input. the override bit is in register 12h, bit 3. 12 7 aio?ctive interface override this bit is used to override the automatic interface selec- tion (bit 3 in register 11h). to override, set this bit to logic 1. when overriding, the active interface is set via bit 6 in this register. table xxxiii. active interface override settings aio result 0 autodetermines the active interface 1 override, bit 6 determines the active interface the default for this register is 0. 12 6 ais?ctive interface select this bit is used under two conditions. it is used to select the active interface when the override bit is set (bit 7). alternately, it is used to determine the active interface when not overriding but both interfaces are detected. table xxxiv. active interface select settings ais result 0 analog interface 1 digital interface the default for this register is 0. 12 5 active hsync override this bit is used to override the automatic hsync selection (bit 2 in register 11h). to override, set this bit to logic 1. when overriding, the active hsync is set via bit 4 in this register. table xxxv. active hsync override settings override result 0 autodetermines the active interface 1 override, bit 4 determines the active inter face the default for this register is 0. 12 4 active hsync select this bit is used under two conditions. it is used to select the active hsync when the override bit is set (bit 5). alter- nately, it is used to determine the active hsync when not overriding but both hsyncs are detected. table xxxvi. active hsync select settings select result 0 hsync input 1 sync-on-green input the default for this register is 0. 12 3 active vsync override this bit is used to override the automatic vsync selec tion (bit 1 in register 11h). to override, set this bit to logic 1. when overriding, the active interface is set via bit 2 in this register. table xxxvii. active vsync override settings override result 0 autodetermines the active vsync 1 override, bit 2 determines the active vsync the default for this register is 0. 12 2 active vsync select this bit is used to select the active vsync when the override bit is set (bit 3). table xxxviii. active vsync select settings select result 0 vsync input 1 sync separator output the default for this register is 0. 12 1 coast select this bit is used to select the active coast source. the choices are the coast input pin or vsync. if vsync is selected the additional decision of using the vsync input pin or the output from the sync separator needs to be made (bits 3, 2). table xxxix. coast select settings select result 0 coast input pin 1 vsync (see above text) the default for this register is 0. 12 0 pwrdn this bit is used to put the chip in full power-down. this powers down both interfaces. see the section on power management for details of which blocks are actually powered down. note, the chip will be unable to detect incoming activity while fully powered-down. table xl. power-down settings select result 0 power-down 1 normal operation the default for this register is 1.
rev. 0 ad9886 C28C digital control 13 7:0 sync separator threshold this register is used to set the responsiveness of the sync separator. it sets how many pixel clock pulses the sync separator must count to before toggling high or low. it works like a low-pass filter to ignore hsync pulses in order to extract the vsync signal. this register should be set to some number greater than the maximum hsync pulsewidth. the default for this register is 32. control bits 14 2 scan enable this register is used to enable the scan function. when enabled, data can be loaded into the ad9886 outputs serially with the scan function. the scan function utilizes three pins (scan in , scan out , and scan clk ). these pins are described in table i. table xli. scan enable settings scan enable result 0 scan function disabled 1 scan function enabled the default for scan enable is 0 (disabled). 14 1 coast input polarity override this register is used to override the internal circuitry that determines the polarity of the coast signal going into the pll. table xlii. coast input polarity override settings override bit result 0 coast polarity determined by chip 1 coast polarity determined by user the default for coast polarity override is 0 (polarity determined by chip). 14 0 hsync input polarity override this register is used to override the internal circuitry that determines the polarity of the hsync signal going into the pll. table xliii. hsync i nput polarity override settings override bit result 0 hsync polarity determined by chip 1 hsync polarity determined by user the default for hsync polarity override is 0 (polarity determined by chip). 2-wire serial control port a 2-wire serial interface control interface is provided. up to four ad9886 devices may be connected to the 2-wire serial interface, with each device having a unique address. the 2-wire serial interface comprises a clock (scl) and a bidi- rectional data (sda) pin. the analog flat panel interface acts as a slave for receiving and transmitting data over the serial inter face. when the serial interface is not active, the logic levels on scl and sda are pulled high by external pull-up resistors. data received or transmitted on the sda line must be stable for the duration of the positive-going scl pulse. data on sda must change only when scl is low. if sda changes state while scl is high, the serial interface interprets that action as a start or stop sequence. there are six components to serial bus operation: start signal slave address byte base register address byte data byte to read or write stop signal when the serial interface is inactive (scl and sda are high) communications are initiated by sending a start signal. the start signal is a high-to-low transition on sda while scl is high. this signal alerts all slaved devices that a data transfer sequence is coming. the first eight bits of data transferred after a start signal com- prising a 7-bit slave address (the first seven bits) and a single r/ w bit (the eighth bit). the r/ w bit indicates the direction of data transfer, read from (1) or write to (0) the slave device. if the transmitted slave address matches the address of the device (set by the state of the sa 1-0 input pins in table xliv, the ad9886 acknowledges by bringing sda low on the 9th scl pulse. if the addresses do not match, the ad9886 does not acknowledge. table xliv. serial port addresses bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 a 6 a 5 a 4 a 3 a 2 a 1 a 0 (msb) 1 001100 1 001101 1 001110 1 001111 data transfer via serial interface for each byte of data read or written, the msb is the first bit of the sequence. if the ad9886 does not acknowledge the master device during a write sequence, the sda remains high so the master can generate a stop signal. if the master device does not acknowledge the ad9886 during a read sequence, the ad9886 interprets this as ?nd of data.?the sda remains high so the master can generate a stop signal. writing data to specific control registers of the ad9886 requires that the 8-bit address of the control register of interest be written after the slave address has been established. this control register address is the base address for subsequent write operations. the base address autoincrements by one for each byte of data written after the data byte intended for the base address. if more bytes are transferred than there are available addresses, the address will not increment and remain at its maximum value of 1dh. any base address higher than 1dh will not produce an acknowledge signal.
rev. 0 ad9886 C29C data is read from the control registers of the ad9886 in a sim ilar manner. reading requires two data transfer operations: the base address must be written with the r/ w bit of the slave address byte low to set up a sequential read operation. reading (the r/ w bit of the slave address byte high) begins at the previously established base address. the address of the read register autoincrements after each byte is transferred. to terminate a read/write sequence to the ad9886, a stop sig- nal must be sent. a stop signal comprises a low-to-high transition of sda while scl is high. a repeated start signal occurs when the master device driving the serial interface generates a start signal without first generat- ing a stop signal to terminate the current communication. this is used to change the mode of communication (read, write) between the slave and master without releasing the serial inter- face lines. serial interface read/write examples write to one control register ? start signal ? slave address byte (r/ w bit = low) ? base address byte ? data byte to base address ? stop signal write to four consecutive control registers ? start signal ? slave address byte (r/ w bit = low) ? base address byte ? data byte to base address ? data byte to (base address + 1) ? data byte to (base address + 2) ? data byte to (base address + 3) ? stop signal read from one control register ? start signal ? slave address byte (r/ w bit = low) ? base address byte ? start signal ? slave address byte (r/ w bit = high) ? data byte from base address ? stop signal read from four consecutive control registers ? start signal ? slave address byte (r/ w bit = low) ? base address byte ? start signal ? slave address byte (r/ w bit = high) ? data byte from base address ? data byte from (base address + 1) ? data byte from (base address + 2) ? data byte from (base address + 3) ? stop signal bit 7 sda scl ack bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 figure 28. serial interfacetypical byte transfer sda scl t buff t stah t dho t dsu t dal t dah t stasu t stosu figure 27. serial port read/ write timing
rev. 0 ad9886 C30C table xlv. control of the sync block muxes via the serial register control mux serial bus bit nos. control bit state result 1 and 2 12h: bit 4 0 pass hsync 1 pass sync-on-green 4 12h: bit 2 0 pass vsync 1 pass sync separator signal sync slicer the purpose of the sync slicer is to extract the sync signal from the green graphics channel. a sync signal is not present on all graphics systems, only those with ?ync-on-green.?the sync signal is extracted from the green channel in a two step process. first, the sog input is clamped to its negative peak (typically 0.3 v below the black level). next, the signal goes to a compara- tor with a trigger level that is 0.15 v above the clamped level. the ?liced?sync is typically a composite sync signal containing both hsync and vsync. sync separator a sync separator extracts the vsync signal from a composite sync signal. it does this through a low-pass filter-like or integrator- like operation. it works on the idea that the vsync signal stays active for a much longer time than the hsync signal, so it re jects any signal shorter than a threshold value, which is somewhere between an hsync pulsewidth and a vsync pulsewidth. the sync separator on the ad9886 is simply an 8-bit digital counter with a 5 mhz clock. it works independently of the polarity of the composite sync signal. (polarities are determined elsewhere on the chip.) the basic idea is that the counter counts up when hsync pulses are present. but since hsync pulses are relatively short in width, the counter only reaches a value of n before the pulse ends. it then starts counting down eventually reaching 0 before the next hsync pulse arrives. the specific value of n will vary for different video modes, but will always be less than 255. for example with a 1 s width hsync, the counter will only reach 5 (1 s/200 ns = 5). now, when vsync is present on the composite sync the counter will also count up. however, since the vsync signal is much longer, it will count to a higher number m. for most video modes, m will be at least 255. so, vsync can be detected on the composite sync signal by detecting when the counter counts to higher than n. the specific count that triggers detection (t) can be programmed through the serial register (0fh). once vsync has been detected, there is a similar process to detect when it goes inactive. at detection, the counter first resets to 0, then starts counting up when vsync goes away. similar to the previous case, it will detect the absence of vsync when the counter reaches the threshold count (t). in this way, it will reject noise and/or serration pulses. once vsync is detected to be absent, the counter resets to 0 and begins the cycle again. sync stripper activity detect negative peak clamp comp sync sog hsync in activity detect polarity detect clock generator coast mux 2 hsync out pixel clock polarity detect mux 1 sync separator integrator vsync hsync out vsync out de mux 4 vsync in 1/s pll hsync activity detect ad9886 sog out figure 29. sync processing block diagram
rev. 0 ad9886 C31C pcb layout recommendations the ad9886 is a high-precision, high-speed analog device. as such, to get the maximum performance out of the part it is important to have a well laid-out board. the following is a guide for designing a board using the ad9886. analog interface inputs using the following layout techniques on the graphics inputs is extremely important: minimize the trace length running into the graphics inputs. this is accomplished by placing the ad9886 as c lose as possible to the graphics vga connector. long input trace lengths are unde- sirable because they will pick up more noise from the board and other external sources. place the 75 ? termination resistors as close to the ad9886 chip as possible. any additional trace length between the termi- nation resistors and the input of the ad9886 increases the magnitude of reflections, which will corrupt the graphics signal. use 75 ? matched impedance traces. trace impedances other than 75 ? will also increase the chance of reflections. the ad9886 has very high input bandwidth (330 mhz). while this is desirable for acquiring a high resolution pc graphics signal with fast edges, it means that it will also capture any high frequency noise present. therefore, it is important to reduce the amount of noise that gets coupled to the inputs. avoid running any digital traces near the analog inputs. due to the high bandwidth of the ad9886, sometimes low-pass filtering the analog inputs can help to reduce noise. (for many applications, filtering is unnecessary.) experiments have shown that placing a series ferrite bead prior to the 75 ? termination resistor is helpful in filtering out excess noise. specifically, the part used was the # 2508051217z0 from fair-rite, but each application may work best with a different bead value. alternately, placing a 100 ? to 120 ? resistor between the 75 ? termination resistor and the input coupling capacitor can also benefit. digital interface inputs many of the same techniques that are recommended for the analog interface inputs should also be used for the digital inter- face inputs. most important is to minimize trace lengths, and then to make the input traces impedances match the input ter- mination (typically 50 ? ). power supply bypassing it is reco mmended to bypass each power supply pin w ith a 0.1 f capacitor. the exception is in the case where two or more supply pins are adjacent to each other. for these group- ings of powers/grounds, it is only necessary to have one bypass capacitor. the fundamental idea is to have a bypass capacitor within about 0.5 cm of each power pin. also, avoid placing the capacitor on the opposite side of the pc board from the ad9886, as that interposes resistive vias in the path. the bypass capacitors should be physically located between the power plane and the power pin. current should flow from the power plane => capacitor => power pin. do not make the power connection between the capacitor and the power pin. placing a via underneath the capacitor pads, down to the power plane, is generally the best approach. it is particularly important to maintain low noise and good stability of pv d (the clock generator supply). abrupt changes in pv d can result in similarly abrupt changes in sampling clock phase and frequency. this can be avoided by careful attention to regulation, filtering, and bypassing. it is highly desirable to provide separate regulated supplies for each of the analog cir- cuitry groups (v d and pvd). some graphic controllers use substantially different levels of power when active (during active picture time) and when idle (during horizontal and vertical sync periods). this can result in a measurable change in the voltage supplied to the analog supply regulator, which can in turn produce changes in the regulated analog supply voltage. this can be mitigated by regu- lating the analog supply, or at least pv d , from a different, cleaner power source (for example, from a 12 v supply). it is also recommend to use a single ground plane for the entire board. experience has repeatedly shown that the noise perfor- mance is the same or better with a single ground plane. using multiple ground planes can be detrimental because each sepa- rate ground plane is smaller, and long ground loops can result. in some cases, using separate ground planes is unavoidable. for those cases, it is recommend to at least place a single ground plane under the ad9886. the location of the split should be at the receiver of the digital outputs. for this case it is even more important to place components wisely because the current loops will be much longer (current takes the path of least resistance). an example of a current loop: power plane => ad9886 => digital output trace => digital data receiver => digital ground plane => analog ground plane. pll place the pll loop filter components as close to the filt pin as possible. do not place any digital or other high frequency traces near these components. use the values suggested in the data sheet with 10% tolerances or less. outputs (both data and clocks) try to minimize the trace length that the digital outputs have to drive. longer traces have higher capacitance, which require more current that causes more internal digital noise. shorter traces reduce the possibility of reflections. adding a series resistor of value 50 ? ?00 ? can suppress reflec- tions, reduce emi, and reduce the current spikes inside of the ad9886. if series resistors are used, place them as close to the ad9886 pins as possible (try not to add vias or extra length to the output trace in order to get the resistors closer). if possible, limit the capacitance that each of the digital outputs drives to less than 10 pf. this can easily be accomplished by keeping traces short and by connecting the outputs to only one device. loading the outputs with excessive capacitance will increase the current transients inside of the ad9886 creating more digital noise on its power supplies. digital inputs the digital inputs on the ad9886 were designed to work with 3.3 v signals. any noise that gets onto the hsync input trace will add jitter to the system. therefore, minimize the trace length and do not run any digital or other high frequency traces near it.
rev. 0 C32C c02383C2.5C1/01 (rev. 0) printed in u.s.a. ad9886 voltage reference bypass with a 0.1 f capacitor. place as close to the ad9886 pin as possible. make the ground connection as short as possible. refout is easily connected to refin with a short trace. avoid making this trace any longer than it needs to be. when using an external reference. the refout output, while unused, still needs to be bypassed with a 0.1 f capacitor in order to avoid ringing. outline dimensions dimensions shown in inches and (mm). 160-lead mqfp (s-160) 1.238 (31.45) 1.228 (31.20) sq 1.219 (30.95) 0.026 (0.65) bsc * lead pitch 1.106 (28.10) 1.102 (28.00) sq 1.098 (27.90) 0.998 (25.35) bsc sq 0.015 (0.38) 0.012 (0.30) lead width 0.009 (0.22) 121 160 1 120 40 80 81 top view (pins down) pin 1 41 0.160 (4.07) max 0.041 (1.03) 0.035 (0.88) 0.029 (0.73) 0.010 (0.25) min 0.145 (3.67) 0.135 (3.42) 0.125 (3.17) seating plane 0.004 (0.10) max * the actual position of each lead is within 0.0047 (0.12) from its ideal position when measured in the lateral direction. center figures are typical unless otherwise noted.


▲Up To Search▲   

 
Price & Availability of AD9886KS-140

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X